package ke02;

public class CountTask implements Runnable {
	
	private long l = 0;

	@Override
	public void run() {

		long start = System.currentTimeMillis();
		for (;l < 10000000000L; l++)
			;
		long end = System.currentTimeMillis();
		System.out.println("Took " + (end - start) / 1000. + " Secs");

	}
	
	public static void main(String[] args) {
		
		CountTask t1 = new CountTask();
		new Thread(t1).start();
		new Thread(t1).start();
		
		
		
		
	}
}
